package cn.school.mybatis.pojo;

import java.io.Serializable;
import java.util.Date;

public class Result implements Serializable {
	private long id;
	private Date examDate;
	private float score;
	private long stId, sbId;

	// 添加关联的学生
	private Student stu;
	// 添加关联的课程!

	public Student getStu() {
		return stu;
	}

	public void setStu(Student stu) {
		this.stu = stu;
	}

	public long getId() {
		return id;
	}

	@Override
	public String toString() {
		return "Result [id=" + id + ", examDate=" + examDate + ", score=" + score + ", stId=" + stId + ", sbId=" + sbId
				+ "]";
	}

	public void setId(long id) {
		this.id = id;
	}

	public Date getExamDate() {
		return examDate;
	}

	public void setExamDate(Date examDate) {
		this.examDate = examDate;
	}

	public float getScore() {
		return score;
	}

	public void setScore(float score) {
		this.score = score;
	}

	public long getStId() {
		return stId;
	}

	public void setStId(long stId) {
		this.stId = stId;
	}

	public long getSbId() {
		return sbId;
	}

	public void setSbId(long sbId) {
		this.sbId = sbId;
	}

}
